(function(angular) {
	'use strict';
	angular.module('fs.waf').factory('companyInfoService', companyInfoService);
	companyInfoService.$inject = [ '$q', 'loggerFactory', 'commonService', 'ajaxServiceFactory', 'modalService', 'gridService','storageService' ];
	function companyInfoService($q, loggerFactory, commonService, ajaxServiceFactory, modalService, gridService,storageService) {
		var log = loggerFactory.getLogger("companyInfoService"), ajaxService = ajaxServiceFactory.buildAjaxService({
			getWorkingCompanyCode : {
				url : 'do/cda/company/getWorkingCompanyCode',
				method : 'get'
			}
		
		});
		
		function getWorkingCompanyCode() {
			var defer = $q.defer();
			ajaxService.getWorkingCompanyCode().then(function(response) {
				defer.resolve(response);
			});
			return defer.promise;
		}
	
		return {
			getWorkingCompanyCode : getWorkingCompanyCode
		};
		
	}	

})(angular);
		